<template>
    <div class="back" @click="back"></div>
</template>

<script>
    export default {
        name: 'Back',
        methods: {
            back() {    //返回上一页
                this.$router.go(-1)
            }
        }
    }
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
/*页面返回按钮*/
.back {
    width: 47px;
    height: 47px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 700;
    background: url("../../assets/images/back.png") no-repeat;
    cursor: pointer;
}
</style>